package com.xinjie.www.service.collect;

import com.xinjie.www.po.Collect;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface CollectService {
    public boolean doCollect(int postId, int userId, String time) throws SQLException, ClassNotFoundException;
    public List<Collect> getCollect(int userId) throws SQLException, ClassNotFoundException;
    public boolean cancelCollect(int collectId) throws SQLException, ClassNotFoundException;
}
